package com.javacrafting.mifos.domain;

import java.util.Date;

public class AccountStatusChangeHistoryImpl implements AccountStatusChangeHistory
{
	private Integer	id;
	private Short	oldStatus;
	private Short	newStatus;
	private Short	changedBy	= Short.valueOf("1");
	private Date	changedDate	= new Date();

	private Account	account;

	public AccountStatusChangeHistoryImpl()
	{
		// default constructor for hibernate
	}

	public AccountStatusChangeHistoryImpl(final Short newStatus, final Account account)
	{
		this.newStatus = newStatus;
		this.account = account;

	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Short getOldStatus()
	{
		return oldStatus;
	}

	public void setOldStatus(Short oldStatus)
	{
		this.oldStatus = oldStatus;
	}

	public Short getNewStatus()
	{
		return newStatus;
	}

	public void setNewStatus(Short newStatus)
	{
		this.newStatus = newStatus;
	}

	public Short getChangedBy()
	{
		return changedBy;
	}

	public void setChangedBy(Short changedBy)
	{
		this.changedBy = changedBy;
	}

	public Date getChangedDate()
	{
		return changedDate;
	}

	public void setChangedDate(Date changedDate)
	{
		this.changedDate = changedDate;
	}

	public Account getAccount()
	{
		return account;
	}

	public void setAccount(Account account)
	{
		this.account = account;
	}
}
